package org.book.dao;


public class BorrowBean {

	private int record_id;
	private String rentTime;
	private String returnTime;
	private String ISBN;
	private String bookName;
	private double price;
	private String press;
	private String author;
	private String cardNumber;
	private String userName;

	public BorrowBean() {
		super();
	}



	//用户详情
	//加个record_id用于提前归还
	public BorrowBean(int record_id,String iSBN, String bookName, double price,
					  String press, String author, String rentTime, String returnTime) {
		super();
		this.record_id = record_id;
		this.rentTime = rentTime;
		this.returnTime = returnTime;
		ISBN = iSBN;
		this.bookName = bookName;
		this.price = price;
		this.press = press;
		this.author = author;
	}


	//借阅详情
	public BorrowBean(int record_id, String rentTime, String returnTime, String iSBN, String bookName,
					  String cardNumber, String userName) {
		super();
		this.record_id = record_id;
		this.rentTime = rentTime;
		this.returnTime = returnTime;
		ISBN = iSBN;
		this.bookName = bookName;
		this.cardNumber = cardNumber;
		this.userName = userName;
	}



	//借阅修改
	public BorrowBean(String rentTime, String returnTime, String iSBN, String cardNumber) {
		super();
		this.rentTime = rentTime;
		this.returnTime = returnTime;
		ISBN = iSBN;
		this.cardNumber = cardNumber;
	}


	//借阅 只需传入时间
	public BorrowBean(String rentTime, String returnTime) {
		super();
		this.rentTime = rentTime;
		this.returnTime = returnTime;
	}


	public int getRecord_id() {
		return record_id;
	}



	public void setRecord_id(int record_id) {
		this.record_id = record_id;
	}


	public String getRentTime() {
		return rentTime;
	}



	public void setRentTime(String rentTime) {
		this.rentTime = rentTime;
	}


	public String getReturnTime() {
		return returnTime;
	}



	public void setReturnTime(String returnTime) {
		this.returnTime = returnTime;
	}




	public String getISBN() {
		return ISBN;
	}



	public void setISBN(String iSBN) {
		ISBN = iSBN;
	}



	public String getBookName() {
		return bookName;
	}




	public void setBookName(String bookName) {
		this.bookName = bookName;
	}



	public double getPrice() {
		return price;
	}



	public void setPrice(double price) {
		this.price = price;
	}


	public String getPress() {
		return press;
	}



	public void setPress(String press) {
		this.press = press;
	}


	public String getAuthor() {
		return author;
	}



	public void setAuthor(String author) {
		this.author = author;
	}




	public String getCardNumber() {
		return cardNumber;
	}



	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}



	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}

}
